#pragma once

#include "logcplus_string.hpp"
#include "logcplus_util.h"
#include "logcplus_common.h"
#include "logcplus_debug_util.h"

namespace logcplus
{
    void remove_exception_logs(const char* psDir,const char* sLogRollPrex,int nMaxLogFileNums );
    void remove_expired_logs(const char* psDir,const char* psLogName,int expiryDate,uint64_t nLogSeqno,uint16_t nLogType);
    bool query_clean_records(const char* cleanup_record_conf,const char* clean_row_record);
    int  save_clean_records( const char* cleanup_record_conf,const char* clean_row_record);
    int  execute_log_cleanup( const char* cleanup_record_conf,const char* clean_row_record,const char* cmdbuf);    
}